package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 路由对象 gw_router
 * 
 * @author ruoyi
 * @date 2024-10-11
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class GwRouter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long Id;

    /** 路由id */
    @Excel(name = "路由id")
    private Long routerId;

    /** 域名 */
    @Excel(name = "域名")
    private String domain;

    /** 标识前缀 */
    @Excel(name = "标识前缀")
    private String prefix;

    /** 企业id */
    @Excel(name = "企业id")
    private Long deptId;
    /** 节点标识 */
    @Excel(name = "企业标识(0内部 1外部)")
    private String    inOutStatus;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 创建节点 */
    @Excel(name = "创建节点")
    private Long createDept;
    @Excel(name = "节点标识")
    private String    nodeIdentifier;
    /** 节点名称 */
    private String deptName;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Long getId() {
        return Id;
    }

    public void setId(Long id) {
        Id = id;
    }

    public void setRouterId(Long routerId)
    {
        this.routerId = routerId;
    }

    public Long getRouterId() 
    {
        return routerId;
    }
    public void setDomain(String domain) 
    {
        this.domain = domain;
    }

    public String getDomain() 
    {
        return domain;
    }
    public void setPrefix(String prefix) 
    {
        this.prefix = prefix;
    }

    public String getPrefix() 
    {
        return prefix;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCreateDept(Long createDept) 
    {
        this.createDept = createDept;
    }

    public Long getCreateDept() 
    {
        return createDept;
    }

    public String getNodeIdentifier() {
        return nodeIdentifier;
    }

    public void setNodeIdentifier(String nodeIdentifier) {
        this.nodeIdentifier = nodeIdentifier;
    }

    public String getInOutStatus() {
        return inOutStatus;
    }

    public void setInOutStatus(String inOutStatus) {
        this.inOutStatus = inOutStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("routerId", getRouterId())
            .append("domain", getDomain())
            .append("prefix", getPrefix())
            .append("deptId", getDeptId())
            .append("delFlag", getDelFlag())
            .append("createDept", getCreateDept())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
